﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class ShopBranchInfoConfig : EntityTypeConfiguration<ShopBranchInfo>
    {
        public ShopBranchInfoConfig()
        {
            ToTable("Himall_ShopBranch");
            Property(item => item.ShopBranchName).HasColumnType("varchar").HasMaxLength(50);
            Property(item => item.AddressDetail).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.ContactUser).HasColumnType("varchar").HasMaxLength(50);
            Property(item => item.ContactPhone).HasColumnType("varchar").HasMaxLength(50);
            Property(item => item.AddressPath).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.ShopImages).HasColumnType("varchar").HasMaxLength(1000);
        }
    }
}
